package com.wanglibao.woodtrade.woodtrade.ui.activity;

import android.net.Uri;
import android.os.Bundle;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.wanglibao.woodtrade.woodtrade.R;

import butterknife.Bind;
import butterknife.ButterKnife;

public class InformationDetailActivity extends BaseActivity {

    @Bind(R.id.tv_information_detail_activity)
    TextView mTvInformationDetailActivity;
    @Bind(R.id.sdv_information_detail_activity)
    SimpleDraweeView mSdvInformationDetailActivity;
    @Bind(R.id.tv_context_information_detail_activtiy)
    TextView mTvContextInformationDetailActivtiy;
    String url=null;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_information_detail);
        ButterKnife.bind(this);
        initData();
    }

    private void initData() {
        tvTitle.setText("资讯详情");
        url=getIntent().getStringExtra("URl");
        mSdvInformationDetailActivity.setImageURI(Uri.parse(url));
    }

}
